<html xmlns:o="urn:schemas-microsoft-com:office:office" 
 xmlns:x="urn:schemas-microsoft-com:office:excel" 
 xmlns="http://www.w3.org/TR/REC-html40"> 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 <html> 
     <head> 
        <meta http-equiv="Content-type" content="text/html;charset=UTF-8" /> 
         <style id="Classeur1_16681_Styles"></style> 
     </head> 
     <body> 
<div id="Classeur1_16681" align=center x:publishsource="Excel"> 
<table x:str border=1 cellpadding=0 cellspacing=0 width="100%" style="border-collapse: collapse;border 1px #000 solid"> 
<thead>
    <tr>
        <th>门店文本号</th>
        <th>门店号</th>
        <th>运营商</th>
        <th>厂商</th>
        <th>产品名称</th>
        <th>IMEI</th>
        <th>收货时间</th>
        <th>购机时间</th>
        <th>是否保内</th>
        <th>发货地址</th>
        <th>收货快递号</th>
        <th>故障描述</th>
        <th>收件人</th>
    </tr>
</thead>
<tbody>
{loop $list $vo}
<tr>
    <td>{$vo['supplier_code']}</td>
    <td>
{loop $supplier_lists $rs}   
     {if $vo['supplier_id'] == $rs['id']}{$rs['name']}{/if}
{/loop}       
    </td>
    <td>
{loop $unicom_lists $un}   
     {if $vo['unicom_id'] == $un['id']}{$un['name']}{/if}
{/loop}    
    </td>
    <td>
{loop $manufacturer_lists $un}   
     {if $vo['manufacturer_id'] == $un['id']}{$un['name']}{/if}
{/loop}    
    </td>
<td>{$vo['mobile_name']}</td>
    <td>{$vo['imei']}</td>
    <td>{if $vo['address_time']}{date('Y-m-d',$vo['address_time'])}{/if}</td>
    <td>{if $vo['shop_time']}{date('Y-m-d',$vo['shop_time'])}{/if}</td>
     <td>{if $vo['overtime'] =='是'}是{else}否{/if}</td>
    <td>{$vo['come_address']}</td>
    <td>{$vo['ems_sn']}</td>
    <td>{$vo['fault_why']}</td>
    <td>{$vo['add_admin_name']}</td>
</tr>
{/loop}
</tbody>
</table>
</div>
</body>
</html>
